YNQ  YNQ-1.5.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups

Macros

#define SY_UNICODEFILESYSTEM
 

Functions

void syUnicodeToUTF8N (NQ_CHAR *outStr, NQ_UINT outLength, const NQ_WCHAR *inWStr, NQ_UINT inLength)
 
void syUTF8ToUnicodeN (NQ_WCHAR *outWStr, NQ_UINT outLength, const NQ_CHAR *inStr, NQ_UINT inLength)
 
NQ_BOOL initCodePageUTF8 (void)
 

Detailed Description

Macro Definition Documentation

#define SY_UNICODEFILESYSTEM

Whether the filesystem supports Unicode. Otherwise all filenames will be converted to ANSI even if CIFS is supporting UNICODE

Function Documentation

void syUnicodeToUTF8N ( NQ_CHAR outStr,
NQ_UINT  outLength,
const NQ_WCHAR inWStr,
NQ_UINT  inLength 
)

Convert Unicode string to UTF8

Parameters
outStrPointer to the result string in UTF8
outLengthLength of the result buffer
inWStrPointer to string in UNICODE to be converted
inLengthLength of string to be converted
void syUTF8ToUnicodeN ( NQ_WCHAR outWStr,
NQ_UINT  outLength,
const NQ_CHAR inStr,
NQ_UINT  inLength 
)

Convert UTF8 string to Unicode

Parameters
outWStrPointer to the result string in UNICODE
outLengthLength of the result buffer
inStrPointer to input string in UTF8
inLengthLength of string to be converted
NQ_BOOL initCodePageUTF8 ( void  )

Check whether conversion is available on the platform

Returns
TRUE on success, FALSE on error.